
from distutils.core import setup
import py2exe

import os

obfs = []
for file in os.listdir('C:\\Python25\\Lib\\site-packages'):
	if file.endswith('obf'):
		obfs.append('C:\\Python25\\Lib\\site-packages\\'+file)

files = [('.', ['COPYING', 'README.txt']), ('.', obfs)]

options = {"py2exe" : {"includes" : ["sip", "PyQt4.QtNetwork"], "excludes": ["Tkconstants", "Tkinter", "tcl", "_ssl", 'pyreadline', 'difflib', 'doctest', 'locale', 'optparse', 'pickle', 'calendar', 'email']}}

setup(name="OriginDB", version="0.8", author="Jason Power", windows=['main.py'], data_files=files, options=options)
